using System;
using System.Collections.Generic;
using System.Text;
using SdlDotNet.Graphics.Sprites;
using SdlDotNet.Core;
using SdlDotNet.Graphics;

namespace SnakeCharp.Entity
{
    /// <summary>
    /// BaseEntity in the game.
    /// Every "GameObject" in the game should inherit from this.
    /// </summary>
    public class BaseEntity : AnimatedSprite
    {

        /// <summary>
        /// Updates this instance.
        /// Should be overriden by child classes.
        /// </summary>
        public virtual void Update()
        {
        }

        /// <summary>
        /// Renders the Entity based on the specified interpolation.
        /// </summary>
        /// <param name="interpolation">The interpolation.</param>
        /// <returns></returns>
        public virtual void Render(float interpolation, Surface destination)
        {
            //this.X = (int)(this.floatX + (speed * interpolation));
            //this.Y = (int)(this.floatY + (speed * interpolation));
        }


        #region Properties

        #endregion
    }
}
